const express = require("express");
const router = express.Router();

//路由：http://localhost:3000/api/test
router.use("/test", (req, res) => {
  res.jsonp({ name: "test测试" });
});


//路由：http://localhost:3000/api/android
router.use('/android', require("./android/index"))

//路由：http://localhost:3000/api/demo
router.use('/demo', require("./demo/index"))

//路由：http://localhost:3000/api/door
router.use('/door', require("./door/index"))

module.exports = router;
